package com.student.model;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Classes {
    //班级编号
    private int classId;
    //班级名称
    private String className;
    //班级创建时间
    private Date createDate;
    //班级老师
    private String teacher;
    //班级对象里面包含一个student对象
    private List<Student> studentList;

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassName() {
        return className;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getTeacher() {
        return teacher;
    }
}
